let mongoose = require('mongoose')
module.exports = mongoose.model('doctor', {
    date: {
        type: String,
        required: true
    },
    day: {
        type: String,
        required: true
    },
    time: {
        type: String,
        required: true
    },
    money: {
        type: String,
        required: true
    },
    rest: {
        type: Number,
        required: true
    }
})